package com.jams.goodox.activity.home;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/11/11.
 */

public class CityResp implements Serializable{

    private int status;
    private String message;
    private String data_version;
    private List<List<ResultBean>> result;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getData_version() {
        return data_version;
    }

    public void setData_version(String data_version) {
        this.data_version = data_version;
    }

    public List<List<ResultBean>> getResult() {
        return result;
    }

    public void setResult(List<List<ResultBean>> result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable{
        /**
         * id : 110000
         * name : 北京
         * fullname : 北京市
         * pinyin : ["bei","jing"]
         * location : {"lat":39.90469,"lng":116.40717}
         */

        private String id;
        private String name;
        private String fullname;
        private LocationBean location;
        private List<String> pinyin;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getFullname() {
            return fullname;
        }

        public void setFullname(String fullname) {
            this.fullname = fullname;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public List<String> getPinyin() {
            return pinyin;
        }

        public void setPinyin(List<String> pinyin) {
            this.pinyin = pinyin;
        }

        public static class LocationBean {
            /**
             * lat : 39.90469
             * lng : 116.40717
             */

            private double lat;
            private double lng;

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }
        }
    }
}
